﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>登陆</title>
    <link href="~/Toolbar/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Toolbar/layui/css/modules/Login.css" rel="stylesheet" />
</head>
<body>
    <div class="login">
        <h1>员工登陆</h1>

        <form class="layui-form form-a">
            @Html.AntiForgeryToken()

            <div id="one" style="width: 600px;">
                <div class="six" style="width: 305px;">
                    <div class="layui-form-item">
                        <label class="layui-form-label"><i class="layui-icon layui-icon-user">员工工号</i></label>
                        <div class="layui-input-block">
                            <input id="username" type="text" name="UserName" placeholder="请输入" lay-verify="user" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label"><i class="layui-icon layui-icon-password">密码</i></label>
                        <div class="layui-input-block">
                            <input type="password" id="password" name="UserPass" placeholder="请输入密码" lay-verify="pass" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验证必填项</label>
                        <div class="layui-input-block">
                            <input type="text" name="a" placeholder="请输入验证码" id="button" autocomplete="off" class="layui-input">
                            <input type="button" class="layui-btn layui-btn-primary layui-btn-sm" id="code" onclick="createCode()" />
                        </div>
                    </div>
                    <div style="margin-left: 150px;">
                        <button class="layui-btn login_btn" lay-submit lay-filter="loginForm" onclick="validate()">登录</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <script src="~/Toolbar/layui/layui.js"></script>
    <script src="~/Scripts/login.js"></script>
</body>
</html>